package jju.edu.mvptest.model;

/**
 * Created by Administrator on 2016/12/1.
 */

public class Phone {
    private String id;
    private double price;

    public Phone(String id, double price) {
        this.id = id;
        this.price = price;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String toString() {
        return "Phone{" +
                "name='" + id + '\'' +
                ", price=" + price +
                '}';
    }
}
